package cn.wjc.demo.part.three.client;

import cn.wjc.demo.common.entity.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "nacos-parttwo")
public interface RemoteAddStudentFeignService {

    @PostMapping("/parttwo/add/student")
    public void remoteAddStudent(@RequestBody Student student);
}
